import {createI18n} from "vue-i18n";
import messages from './langs/index'

const i18n = createI18n({
    legacy: false,
    locale: localStorage.getItem('lang') || "zh",
    messages: {
        ...messages,
    }
})

export default i18n;